package com.yt.user.models.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@ApiModel(value = "AdminLoginDTO", description = "管理员登录DTO")
public class AdminLoginDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "管理员用户名", required = true, example = "admin123")
    private String username;

    @ApiModelProperty(value = "登录密码", required = true, example = "xxxxxx")
    private String password;

    @ApiModelProperty(value = "验证码（可选，增强安全性）")
    private String captchaCode;

    @ApiModelProperty(value = "验证码对应的唯一标识（与captchaCode配套）")
    private String captchaKey;
}